package cn.hdy.org.domain;

import cn.hdy.base.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    @ApiModelProperty("店铺名称")
    private String name;
    @ApiModelProperty("店铺座机")
    private String tel;
    @ApiModelProperty("入驻时间")
    @JsonFormat(pattern="yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date registerTime;
    @ApiModelProperty("店铺状态")
    private Integer state;
    @ApiModelProperty("店铺地址")
    private String address;
    @ApiModelProperty("店铺logo")
    private String logo;
    @ApiModelProperty("店铺管理员id")
    private Long admin_id;
    @ApiModelProperty("员工")
    private Employee employee;
}
